﻿using System;
using GeoAPI.Geometries;
using NetTopologySuite.Geometries;

namespace NetTopologySuite.Index.Chain
{
	public class MonotoneChainSelectAction
	{
		public virtual void Select(MonotoneChain mc, int startIndex)
		{
			mc.GetLineSegment(startIndex, ref this.SelectedSegment);
			this.Select(this.SelectedSegment);
		}

		public virtual void Select(LineSegment seg)
		{
		}

		public Envelope TempEnv1 = new Envelope();

		public LineSegment SelectedSegment = new LineSegment();
	}
}
